import ChatBox from "../../components/chat/ChatBox";
// import {Userlist} from "../../store/modules/user";
// import {useDispatch} from "react-redux";
// import {useWs} from "../../ws";

function ChatPage(){
    // const dispatch = useDispatch();
    // const socket = useWs();
    // socket.on('userlist',(data) => {
    //     dispatch(Userlist(data.msg))
    //     console.log(data)
    // })
    return(
        <>
            <ChatBox/>
        </>
    )
}
export default ChatPage;